package Tools

import (
"crypto/md5"
"encoding/hex"
)

func MD5(str string) string {
	ctx := md5.New()
	ctx.Write([]byte(str))
	s := ctx.Sum(nil)
	return hex.EncodeToString(s)
}